home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / include / bezierP.h < prev    next >
C/C++ Source or Header  |  1992-02-25  |  1KB  |  38 lines

  1. /* Copyright (c) 1992 The Geometry Center; University of Minnesota
  2.    1300 South Second Street;  Minneapolis, MN  55454, USA;
  3.    
  4. This file is part of geomview/OOGL. geomview/OOGL is free software;
  5. you can redistribute it and/or modify it only under the terms given in
  6. the file COPYING, which you should have received along with this file.
  7. This and other related software may be obtained via anonymous ftp from
  8. geom.umn.edu; email: software@geom.umn.edu. */
  9.  
  10. /* Authors: Charlie Gunn, Stuart Levy, Tamara Munzner, Mark Phillips */
  11.  
  12. #ifndef BEZIERPDEFS
  13. #define BEZIERPDEFS
  14.  
  15. #include "geomclass.h"
  16. #include "bezier.h"
  17. #include "meshP.h"
  18.  
  19. struct Bezier {
  20.   GEOMFIELDS
  21.   int        flag, degree_u, degree_v, dimn;
  22.   int        nu, nv;    /* these must match mesh dimensions or remake mesh */
  23.   float        *CtrlPnts;
  24.   float        *STCords;
  25.   Mesh         *mesh;
  26.   ColorA    c[4];        /* if flag & BEZ_C */
  27.  
  28. };
  29.  
  30. /*
  31.  * Hidden routines, not user-callable
  32.  */
  33. extern Bezier *BezierCreate( Bezier *exist, GeomClass *, va_list attrlist );
  34. extern void  BezierDelete( Bezier * );
  35. extern Bezier *BezierCopy( Bezier * );
  36.  
  37. #endif /* ! BEZIERPDEFS */
  38.